﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace ZG_member.BLL
{
    public class CourseStage
    {
        ZG_member.DAL.CourseStage dal = new ZG_member.DAL.CourseStage();

        public bool add(ZG_member.Model.CourseStage model)
        {
            return dal.add(model);
        }

        public DataSet GetListWhere(string strWhere)
        {
            return dal.GetListWhere(strWhere);
        }

        public bool Update(ZG_member.Model.CourseStage mode)
        {
            return dal.Update(mode);
        }

        public DataSet GetList(string sql)
        {
            return dal.GetList(sql);
        }

        public bool Delete(int id)
        {
            return dal.Delete(id);
        }

        public ZG_member.Model.CourseStage GetModel(int id)
        {
            return dal.GetModel(id);
        }
        public ZG_member.Model.CourseStage GetModel(string TitleText)
        {
            return dal.GetModel(TitleText);
        }
    }
}
